﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="dengluaspx.aspx.cs" Inherits="dengluaspx" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    </script>
    <style type="text/css">
        .main {
width:1075px;
height:661px;
margin-top:6px;
}
.left {
float:left;
}
.left {
    width:300px;
    height:625px;
     line-height:30px;
    margin-left:10px;
}
.TxtS {
    width:84%;
    height:500px;
    line-height:30px;
    margin-left:10px;
}

.right {
float:left;
}
.right {
width:753px;
height:625px;
margin-left:1px;
            margin-right: 0px;
        }
        .auto-style1 {
            width: 100%;
            height: 95px;
        }
        .auto-style2 {
            width: 256px;
        }
        .auto-style3 {
            font-size: xx-large;
            background-color: #66CCFF;
        }
        .auto-style4 {
            color: #000000;
        }
        </style>
</head>
<body >
    <form id="form1" runat="server">
      
         <asp:Panel runat="server" BackImageUrl ="~/image/123.jpg" Height ="100%" Width="100%">
 
      <div id="tou" Height="82px">

          <table class="auto-style1">
              <tr>
                  <td class="auto-style2" rowspan="2">
                      <asp:Image ID="Image1" runat="server" Height="94px" ImageUrl="~/image/21.jpg" Width="255px" />
                  </td>
                  <td class="auto-style3">
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      <asp:Label ID="Label2" runat="server" Text="志林药店"></asp:Label>
                  </td>
              </tr>
              <tr>
                  <td>
                      <div id="time" >
                          <asp:Label ID="Label_status" runat="server" Text="当前用户：未登录" style="font-weight: 700"></asp:Label>
                      </div>
                  </td>
              </tr>
          </table>

          </div>
            
    <div class="main"  style=" width :100%;background-image: url('image/sgunr.jpg')" >

       <div class="left">
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />
             <br />
             <br />
             <br />
           
             &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      
              <div id ="top"style="background-origin;background-image :url('/image/sdfsf.jpg'); font-size :xx-large;font-family :黑体; height: 300px; width: 450px;" >
               
              <center>

                    <p align="center" style ="font-size :large ;color :#008080">
                         <font align="center" style="font-family: 华文新魏; background-color: #FFFFFF;">
                <br />
               <center> 用户登录</center> 
                </font>
                        &nbsp;<div>
        <p  align="center" style ="font-size :large ;"class="auto-style1">

            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
            <asp:Label ID="Label3" runat="server" Text="姓名："></asp:Label>
            <asp:TextBox ID="txtID" runat="server" AutoPostBack="True" Height="16px" Width="121px" ></asp:TextBox> 
            
            <td style="color: #FF0000">
                 <asp:RequiredFieldValidator ID="re1" runat="server" ControlToValidate="txtID" ErrorMessage="账号不能为空！" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </p>
        <p  align="center" style ="font-size :large ;"class="auto-style1">

           

            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label4" runat="server" Text="密码："></asp:Label>
            <asp:TextBox ID="txtPASSWORD" runat="server" AutoPostBack="True" Height="16px" Width="118px" ></asp:TextBox>
           <td style="color: #FF0000">
           <asp:RequiredFieldValidator ID="re2" runat="server" ControlToValidate="txtPASSWORD" ErrorMessage="密码不能为空！" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </p>
        <p  align="center" style ="font-size :large ;"class="auto-style1">

           

         &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

           

         用户： 
            <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="True" >
                <asp:ListItem Value="H_TABLE">客户</asp:ListItem>
                <asp:ListItem Value="T_TABLE">管理员</asp:ListItem>
            </asp:DropDownList>
            &nbsp;

           

            <asp:Button ID="btnlogin" runat="server" Text="登录" OnClick="btnlogin_Click" />
            &nbsp;&nbsp;&nbsp;
            </p>
      
   
 
               </div>

                 </div>
        
             
              
                 <br />
                 <br />


              </div>
        <div class ="right ">

            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label5" runat="server" style="font-weight: 700; font-size: xx-large" Text="欢迎使用本药店系统"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label6" runat="server" style="font-size: x-large" Text="地址：青海省西宁市八一中路3号"></asp:Label>
            <br />
            <br />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label7" runat="server" style="font-size: x-large" Text="电话;131005004623"></asp:Label>

            </div>
              
                 <table class="auto-style1">
                     <tr>
                         <td>
                             <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                                 <ContentTemplate>
                                     <br />
                                     <asp:ScriptManager ID="ScriptManager1" runat="server">
                                     </asp:ScriptManager>
                                     <span class="auto-style4">当前时间： 
                                     <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
                                     </span>
                                     <asp:Timer ID="Timer1" runat="server" Interval="1000" OnTick="Timer1_Tick">
                                     </asp:Timer>
                                 </ContentTemplate>
                             </asp:UpdatePanel>
                         </td>
                     </tr>
                 </table>
            </div>
   
            </asp:Panel>
   
    </form>
</body>
</html>
